#pragma once
#include "ValueBoard.h"
#include "ChessBoard.h"
#include "MaxMinDfs.h"


class CGame
{
public:
	CGame();
	~CGame();
	void Start();
	void Init(ChessType player);
	void Run();
	void PlayerTurn();
	void ComputerTurn();
private:
	CChessBoard m_cb;
	CMaxMinDfs m_mmd;
	ChessType m_player;
	ChessType m_computer;
	HANDLE m_hInput;
	HANDLE m_hOutput;
	INPUT_RECORD m_inRec;
	DWORD res;
};

